Package com.cisco.pt.ipc.sim.impl
Class IPsecProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.IPsecProcessImpl
- All Implemented Interfaces:
IPCObject,IPsecProcess,Process
Information provided by the PKI file:
\class IpsecProcess
\brief IpsecProcess is the process that handles IPSec.
\example network().getDevice("Router0").getProcess("IpsecProcess")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionIPsecProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCryptoMapSetByNameSeq(String name, int sequence) Information provided by the PKI file:voidaddCryptoMapSetByNameSeqV6(String name, int sequence) Information provided by the PKI file:voidaddTransformSetByName(String name) Information provided by the PKI file:voidaddTunnelGrpByName(String name) Information provided by the PKI file:getCryptoMapSetAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:getCryptoMapSetV6At(int index) Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:getIkePolicyAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:getTransformSetAt(int index) Information provided by the PKI file:getTransformSetbyName(String name) Information provided by the PKI file:intInformation provided by the PKI file:getTunnelGrpAt(int index) Information provided by the PKI file:getTunnelGrpByName(String name) Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:voidInformation provided by the PKI file:voidremoveTunnelGrpByName(String name) Information provided by the PKI file:voidsetGlobalLifeTime(int lifetime) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
IPsecProcessImpl
public IPsecProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getGlobalLifeTime
public int getGlobalLifeTime()Information provided by the PKI file:
\brief Returns the global lifetime for encryption. \return int, the global lifetime for encryption.- Specified by:
getGlobalLifeTimein interfaceIPsecProcess- Returns:
- int Returns a int
-
setGlobalLifeTime
public void setGlobalLifeTime(int lifetime) Information provided by the PKI file:
\brief Sets the global lifetime for encryption. \param lifetime, the global lifetime for encryption.- Specified by:
setGlobalLifeTimein interfaceIPsecProcess- Parameters:
lifetime- Takes in a parameter of lifetime
-
getCryptoMapSetCount
public int getCryptoMapSetCount()Information provided by the PKI file:
\brief Returns the number of crypto map sets. \return int, the number of crypto map sets.- Specified by:
getCryptoMapSetCountin interfaceIPsecProcess- Returns:
- int Returns a int
-
getCryptoMapSetAt
Information provided by the PKI file:
\brief Returns the crypto map set at the specified index. \param index, the index of the crypto map set of interest. \return CryptoMapSet, the CryptoMapSet object at the specified index.- Specified by:
getCryptoMapSetAtin interfaceIPsecProcess- Parameters:
index- Takes in a parameter of index- Returns:
- CryptoMapSet Returns a CryptoMapSet
-
addCryptoMapSetByNameSeq
Information provided by the PKI file:
\brief Adds a crypto map set with the specified name and sequence number. \param name, the name of the crypto map set. \param sequence, the sequence number of the crypto map set.- Specified by:
addCryptoMapSetByNameSeqin interfaceIPsecProcess- Parameters:
name- Takes in a parameter of namesequence- Takes in a parameter of sequence
-
getTransformSetCount
public int getTransformSetCount()Information provided by the PKI file:
\brief Returns the number of transform sets. \return int, the number of transform sets.- Specified by:
getTransformSetCountin interfaceIPsecProcess- Returns:
- int Returns a int
-
getTransformSetAt
Information provided by the PKI file:
\brief Returns the transform set at the specified index. \param index, the index of the transform set of interest. \return TransformSet, the TransformSet object at the specified index.- Specified by:
getTransformSetAtin interfaceIPsecProcess- Parameters:
index- Takes in a parameter of index- Returns:
- TransformSet Returns a TransformSet
-
getTransformSetbyName
Information provided by the PKI file:
\brief Returns the transform set with the specified name. \param name, the name of the transform set of interest. \return TransformSet, the TransformSet object with the specified name.- Specified by:
getTransformSetbyNamein interfaceIPsecProcess- Parameters:
name- Takes in a parameter of name- Returns:
- TransformSet Returns a TransformSet
-
addTransformSetByName
Information provided by the PKI file:
\brief Adds a transform set with the specified name. \param name, the name for the transform set.- Specified by:
addTransformSetByNamein interfaceIPsecProcess- Parameters:
name- Takes in a parameter of name
-
removeTransformSetByName
Information provided by the PKI file:
\brief Removes the transform set with the specified name. \param name, the name for the transform set.- Specified by:
removeTransformSetByNamein interfaceIPsecProcess- Parameters:
name- Takes in a parameter of name
-
isTransformSetUsedByMap
Information provided by the PKI file:
\brief Returns true if the specified transform set is used by the crypto map, otherwise false. \param name, the name of the transform set of interest. \return bool, true if the specified transform set is used by the crypto map, otherwise false.- Specified by:
isTransformSetUsedByMapin interfaceIPsecProcess- Parameters:
name- Takes in a parameter of name- Returns:
- boolean Returns a boolean
-
getIkePolicyCount
public int getIkePolicyCount()Information provided by the PKI file:
\brief Returns the number of IKE policies. \return int, the number of IKE policies.- Specified by:
getIkePolicyCountin interfaceIPsecProcess- Returns:
- int Returns a int
-
getIkePolicyAt
Information provided by the PKI file:
\brief Returns IKE policy at the specified index. \param index, the index of the IKE policy of interest. \return IkePolicy, the IkePolicy object at the specified index.- Specified by:
getIkePolicyAtin interfaceIPsecProcess- Parameters:
index- Takes in a parameter of index- Returns:
- IkePolicy Returns a IkePolicy
-
getTunnelGrpCount
public int getTunnelGrpCount()Information provided by the PKI file:
\brief Returns the number of Tunnel Group. \return int, the number of Tunnel Group.- Specified by:
getTunnelGrpCountin interfaceIPsecProcess- Returns:
- int Returns a int
-
getTunnelGrpByName
Information provided by the PKI file:
\brief gets the tunnel group with the specified name. \param name, the name for the tunnelGroup.- Specified by:
getTunnelGrpByNamein interfaceIPsecProcess- Parameters:
name- Takes in a parameter of name- Returns:
- TunnelGroup Returns a TunnelGroup
-
addTunnelGrpByName
Information provided by the PKI file:
\brief Adds a Tunnel Group with the specified name. \param name, the name for the Tunnel Group .- Specified by:
addTunnelGrpByNamein interfaceIPsecProcess- Parameters:
name- Takes in a parameter of name
-
removeTunnelGrpByName
Information provided by the PKI file:
\brief Removes the Tunnel Group with the specified name. \param name, the name for the Tunnel Group.- Specified by:
removeTunnelGrpByNamein interfaceIPsecProcess- Parameters:
name- Takes in a parameter of name
-
getTunnelGrpAt
Information provided by the PKI file:
\brief Returns Tunnel Group at the specified index. \param index, the index of the Tunnel Group of interest. \return Tunnel Group, the Tunnel Group object at the specified index.- Specified by:
getTunnelGrpAtin interfaceIPsecProcess- Parameters:
index- Takes in a parameter of index- Returns:
- TunnelGroup Returns a TunnelGroup
-
getCryptoMapSetV6Count
public int getCryptoMapSetV6Count()Information provided by the PKI file:
\brief Returns the number of crypto map sets. \return int, the number of crypto map sets.- Specified by:
getCryptoMapSetV6Countin interfaceIPsecProcess- Returns:
- int Returns a int
-
getCryptoMapSetV6At
Information provided by the PKI file:
\brief Returns the crypto map set at the specified index. \param index, the index of the crypto map set of interest. \return CryptoMapSet, the CryptoMapSet object at the specified index.- Specified by:
getCryptoMapSetV6Atin interfaceIPsecProcess- Parameters:
index- Takes in a parameter of index- Returns:
- CryptoMapSet Returns a CryptoMapSet
-
addCryptoMapSetByNameSeqV6
Information provided by the PKI file:
\brief Adds a crypto map set with the specified name and sequence number. \param name, the name of the crypto map set. \param sequence, the sequence number of the crypto map set.- Specified by:
addCryptoMapSetByNameSeqV6in interfaceIPsecProcess- Parameters:
name- Takes in a parameter of namesequence- Takes in a parameter of sequence
-